using System;
namespace Servlets.Exceptions
{
	public class ClassNotServletException : ServletException
	{
		public ClassNotServletException() : base("You can only map classes that have the ServletAttribute attribute") {}
		public ClassNotServletException(string message) : base(message) {}
		
		public override Api.HttpStatus StatusCode {
			get {
				return Servlets.Api.HttpStatus.STATUS_500_INTERNAL_SERVER_ERROR;
			}
		}
	}
}

